<!DOCTYPE html>
<html>
    
    <head>
        <meta charset="UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
        <meta name="apple-mobile-web-app-title" content="Modown">
        <meta http-equiv="Cache-Control" content="no-siteapp">
        <title>{$c['username']}的{if condition="input('m') eq ''"}个人主页{/if} {if condition="input('m')
            eq 'comment'"}的评论{/if} {if condition="input('m') eq :fun_sc_p('model',
            array('name'=>input('m')), 'name')"}{:fun_sc_p('model', array('name'=>input('m')),
            'title')}{/if} - {:cms('title')}</title>
        <meta name="keywords" content="{:cms('keywords')}">
        <meta name="description" content="{:htmltext($c['description'])}">
        {include file="header"}
        <article>
            <div class="page whitebg">
                <div class="page-title" id="pageContents">
                    <ul>
                        <li>
                            <a href="*URL*/uid_{$c['userid']}.html" {if condition="input('m') eq ''"
                            }id="pagecurrent" {/if}>
                                个人资料
                            </a>
                        </li>
                        <li>
                            <a href="*URL*/uid_{$c['userid']}_m_comment.html" {if condition="input('m') eq 'comment'"
                            }id="pagecurrent" {/if}>
                                TA的 评论
                            </a>
                        </li>
                        {volist name=":fun_s('model',array('open'=>1),'px desc',100,1)" id="vo"}
                        <li>
                            <a href="*URL*/uid_{$c['userid']}_m_{$vo.name}.html" {if condition="input('m') eq $vo['name']"
                            }id="pagecurrent" {/if}>
                                TA的 {$vo.title}
                            </a>
                        </li>
                        {/volist}
                    </ul>
                </div>
                <div class="page-box">
                    <div class="other" style="height: 100%;overflow: auto; ">
                        {if condition="input('m') eq ''"}
                        <ul class="my-info">
                            <li>
                                <h3>
                                    Ta的昵称
                                </h3>
                                <span>
                                    {$c['username']}
                                </span>
                            </li>
                            <li>
                                <h3>
                                    当前级别
                                </h3>
                                <span class="jp">
                                    {:qxz($c['userid'],1)}
                                </span>
                            </li>
                            <li>
                                <h3>
                                    性别
                                </h3>
                                <span>
                                    {if condition="$c['sex'] eq '1'"}男{else/}女{/if}
                                </span>
                            </li>
                            <li>
                                <h3>
                                    Ta的QQ
                                </h3>
                                <span>
                                    {$c['userqq']}
                                </span>
                            </li>
                            <li>
                                <h3>
                                    已投稿
                                </h3>
                                <span>
                                    {:fun_st('model_whole',array('open'=>1,'uid'=>$c['userid']))}次
                                </span>
                            </li>
                            <li>
                                <h3>
                                    TA评论
                                </h3>
                                <span>
                                    {:fun_st('comment',array('open'=>1,'uid'=>$c['userid']))}次
                                </span>
                            </li>
                            <li>
                                <h3>
                                    获得点赞
                                </h3>
                                <span>
                                    {:fun_st('zan',array('open'=>1,'suid'=>$c['userid']))}次
                                </span>
                            </li>
                            <li>
                                <h3>
                                    TA收藏
                                </h3>
                                <span>
                                    {:fun_st('shoucang',array('open'=>1,'uid'=>$c['userid']))}次
                                </span>
                            </li>
                            <li>
                                <h3>
                                    注册时间
                                </h3>
                                <span>
                                    {$c['regtime']|timeinfo}
                                </span>
                            </li>
                            <li>
                                <h3>
                                    UID
                                </h3>
                                <span class="getuuid">
                                    {$c['userid']}
                                </span>
                            </li>
                        </ul>
                        {elseif condition="input('m') eq 'comment'"}
                        <table class="layui-table biaoge">
                            <colgroup>
                                <col width="200">
                                    <col width="300">
                                        <col width="100">
                                            <col>
                            </colgroup>
                            <thead>
                                <tr>
                                    <th>
                                        标题
                                    </th>
                                    <th>
                                        评论内容
                                    </th>
                                    <th>
                                        评论时间
                                    </th>
                                </tr>
                            </thead>
                            <tbody>
                                {volist name=":fun_s('comment',array('open'=>1,'uid'=>$c['userid']),'id
                                desc','10,false',0)" id="vo"}
                                <tr>
                                    <th>
                                        {if condition="$vo['model'] eq '0'"}
                                        <a target="_blank" href="*URL*/d_{:fun_sc_p('danye', array('id'=>$vo['fid']), 'show')}.html">
                                            {:cut(fun_sc_p('danye', array('id'=>$vo['fid']), 'title'),10)}
                                        </a>
                                        {else /}
                                        <a target="_blank" href="*URL*/s_{:m($vo['model'])}_{$vo.fid}.html">
                                            {:cut(fun_sc_p(m($vo['model']), array('id'=>$vo['fid']), 'title'),20)}
                                        </a>
                                        {/if}
                                    </th>
                                    <th>
                                        {$vo.content|htmltext|cut=###,300}
                                    </th>
                                    <td>
                                        {$vo.time|timeinfo}
                                    </td>
                                </tr>
                                {/volist}
                            </tbody>
                        </table>
                        <div class="pagination">
                            {:fun_s('comment',array('open'=>1,'uid'=>$c['userid']),'id desc','10,false',0)->render()}
                            <div>
                                {else /}
                                <div class="blogs-list">
                                    <ul style="    padding: 0; ">
                                        {volist name=":fun_s(input('m'),array('uid'=>$c['userid'],'open'=>1),'settop
                                        desc , id desc','12,false',0)" id="vs" empty="
                                        <div align='center' style='padding: 100px 0px 100px 0px;'>
                                            暂时没有数据
                                        </div>
                                        "}
                                        <li>
                                            {volist name=":getImgList($vs.content)" id="vj" length="1"}
                                            <i>
                                                <a href="*URL*/s_{:m($vo['model'])}_{$vs.id}.html">
                                                    <img src="{$vj}" onerror="this.src='*ADMIN*/img/pic.jpg';">
                                                </a>
                                            </i>
                                            {/volist}
                                            <h2>
                                                {if condition="$vs['view'] gt cmswap('cms10')"}
                                                <em>
                                                    热
                                                </em>
                                                {/if}
                                                <a href="*URL*/s_{:m($vs['model'])}_{$vs.id}.html" target="_blank">
                                                    {$vs.title}
                                                </a>
                                            </h2>
                                            <p>
                                                {$vs.description|htmltext}
                                            </p>
                                            <span>
                                                {volist name=":exps($vs.keywords)" id="v"} {notempty name="$v"}
                                                <a href="*URL*/tag_{:input('m')}_{$v}" target="_blank">
                                                    {$v}
                                                </a>
                                                {/notempty} {/volist}
                                            </span>
                                        </li>
                                        {/volist}
                                    </ul>
                                </div>
                            </div>
                        </div>
                        <div class="pagination">
                            {:fun_s(input('m'),array('uid'=>$c['userid'],'open'=>1),'settop desc ,
                            id desc','12,false',0)->render()}
                        </div>
                        {/if}
                    </div>
                </div>
            </div>
        </article>
        <div class="clear blank">
        </div>
        <!--系统预留插件钩子请保留个人中心页面-->
        {:h('uidpc')}
        {include file="footer"}